﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<IEnumerable<MShop.Core.Domain.ItemCat>>" %>
<% MShop.Web.Controllers.ControllerBase cn = this.ViewContext.Controller as MShop.Web.Controllers.ControllerBase;  %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>产品目录<%=cn.ShopContext.Settings.WebSiteTitle %></title>
    <meta name="keywords" content="<%=cn.ShopContext.Settings.WebSiteKeyWords %>" />
    <style type="text/css">
    body{ margin:10px;}
    li{float:left;padding:12px;margin:12px;}   
    </style>
    <link type="text/css" rel="stylesheet" href="/css/layout.css" />
</head>
<body>
<div id="content">
<ul>
<li>
<a href="/">回首页</a>
</li>
<% foreach (var item in Model)
   { %>
     <li>
       <%=Html.ActionLink(item.Name, "ProductList", new { id = item.Id }, new { @target = "_blank" })%>
     </li>
<%} %>
</ul>
</div>
</body>
</html>

